<td>
  <%= link_to simple_icon('note'), edit_appointment_diagnosis_path(:id => diagnosis, :appointment_id => params[:id]) %> 
  <%= link_to feather_icon('trash'),appointment_diagnosis_path(:id => diagnosis, :appointment_id => params[:id]), method: :delete, data: { confirm: 'Are you sure?' }%>
</td>
<td><%= diagnosis.label %></td>
<td><%= diagnosis.diagnosis_group.label %></td>
  